WPPayForm\App\Modules\PaymentMethods\Stripe\Stripe B

Total Complexity 83
Dependencies 7
Dependents 15
Total lines 509
Lines of code 393
Logical lines of code 165
Comment lines 23
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
savePaymentSettings()
A
43 9 49
getSecretKey()
S
54 7 20
getPubKey()
S
54 7 20
addAddressToView()
S
50 5 34
getMode()
S
62 6 10
mapper()
S
60 5 14
addTransactionUrl()
S
60 5 13
choosePaymentMethod()
S
63 5 11
maybeSignupFeeToPaymentItems()
S
53 4 23
formatAddress()
S
55 4 21
mapSettings()
S
42 1 60
maybeDecryptKeys()
S
58 4 15
getStripePaymentMethodByElement()
S
64 4 10
pushAddressToInput()
S
62 3 11
getStripeSettings()
S
56 2 19
registerHooks()
S
56 1 16
isStripeKeysDefined()
S
79 2 3
makeSubscriptionSync()
S
79 1 3
getPaymentSettings()
S
69 1 7
encryptKeys()
S
70 1 6
routePaymentHandler()
S
70 1 5
getDynamicStripeSettings()
S
76 1 4
addPaymentMethodStyle()
S
72 1 5
addLocalizeVars()
S
66 1 8
captureAuthorizedAmount()
S
78 1 3
cancelSubscription()
S
78 1 3